 const featureobj={
typeHudge: function(feature){
 if(feature.get('typepoint')) return "typepoint"
 else if (feature.get('typepline')) return "typepline"
 else return "qita"
},
typepointClick: function(){
  console.log('点击点')
},
typepointMove: function(feature){
let point = feature.get('point')
   this.setoverlatposition([point.lng, point.lat])
   this.data=point
    //   //设置鼠标放上去的样式
      this.map.getTargetElement().style.cursor = 'pointer'
      this.huifuSize()
      feature.getStyle().getImage().setRadius(8)
      feature.changed()
      this.isChangeSize=feature
},
typeplineClick : function(){
  alert('点击线')
},
typeplineMove: function(){
console.log('移动线')
},
qitaMove: function(){
  console.log('qita')
},
qitaClick: function(){
  console.log('qita')
}
};

export default featureobj